package com.transcasafe.eanpay.core.service.model;

import com.transcasafe.eanpay.core.util.GsonUtil;
import lombok.Getter;
import lombok.Setter;

/**
 * CyberSource Payer Sales Refund Request
 */
@Getter
@Setter
public class RefundPaymentRequest {
    private String mchRefundOrderNo; // 商户退款单号
    private String orderNo; // 平台订单号
    private String refundReason; // 退款原因
    private String currency; // 退款币种，可选，不传则默认为订单币种
    private String refundAmount; // 退款金额，可选，不传则默认为订单金额
    private String notifyUrl; // 退款结果通知地址，可选
    public String toJsonStr() {
        return GsonUtil.toJson(this);
    }
}
